package com.atguigu.gmall.feign.product;

import com.atguigu.gmall.model.web.WebCategoryAllVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author 钟涛
 * @version 1.0
 * @description: TODO
 * @date 2021/12/10 11:25
 */
@FeignClient("service-product")
@RequestMapping("/api/index")
public interface IndexFeignClient {
    @RequestMapping("/categorys")
    public List<WebCategoryAllVo> getCategoryAll();

//    @GetMapping("/zbt")
//    public void getZBT(Person person);



}
